module.exports = (key) => {
  // 获取所有权限
  const permissionList = uni.getStorageSync('permissions')
  // 判断当前是否包含对应按钮的权限
  return permissionList.includes(key)
}
